package org.zxn.study.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName User
 * @Description: 用户实体类
 * @Author zxn
 * @Date 2025/7/10 16:54
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public final class User {
    private Long userId;
    private String username;
    private String password;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
